home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 139 / 139.xpi / chrome / imagezoom.jar / content / overlay_firefox.xul < prev    next >
Extensible Markup Language  |  2010-01-04  |  8KB  |  235 lines

  1. <?xml version="1.0"?>
  2. <!-- ***** BEGIN LICENSE BLOCK *****
  3.  
  4.     Copyright (c) 2006-2010  Jason Adams <imagezoom@yellowgorilla.net>
  5.  
  6.     This file is part of Image Zoom.
  7.  
  8.     Image Zoom is free software; you can redistribute it and/or modify
  9.     it under the terms of the GNU General Public License as published by
  10.     the Free Software Foundation; either version 2 of the License, or
  11.     (at your option) any later version.
  12.  
  13.     Image Zoom is distributed in the hope that it will be useful,
  14.     but WITHOUT ANY WARRANTY; without even the implied warranty of
  15.     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16.     GNU General Public License for more details.
  17.  
  18.     You should have received a copy of the GNU General Public License
  19.     along with Image Zoom; if not, write to the Free Software
  20.     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  21.  
  22. ***** END LICENSE BLOCK ***** -->
  23. <!DOCTYPE overlay SYSTEM "chrome://net.yellowgorilla.imagezoom/locale/imageZoom.dtd">
  24. <overlay id="net.yellowgorilla.imagezoom.overlay_firefox"
  25.          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  26.  
  27.     <script type="application/x-javascript" src="chrome://net.yellowgorilla.imagezoom/content/overlay.js"/>
  28.     <script type="application/x-javascript" src="chrome://net.yellowgorilla.imagezoom/content/globals.js"/>
  29.  
  30.   <stringbundleset id="stringbundleset">
  31.     <stringbundle id="net.yellowgorilla.imagezoom.stringbundle" src="chrome://net.yellowgorilla.imagezoom/locale/imageZoom.properties"/>
  32.   </stringbundleset>
  33.  
  34.     <popup id="contentAreaContextMenu">
  35.             <menuitem id="context-zoom-zin"
  36.                 label="&iz.menu.context.increase.label;"
  37.                 accesskey="&iz.menu.context.increase.accesskey;"
  38.                 oncommand="net.yellowgorilla.imagezoom.overlay.izZoomIn();"
  39.                 insertbefore="context-sep-copyimage"
  40.                 hidden="true"
  41.             />
  42.             <menuitem id="context-zoom-zreset"
  43.                 label="&iz.menu.context.reset.label;"
  44.                 accesskey="&iz.menu.context.reset.accesskey;"
  45.                 insertbefore="context-sep-copyimage"
  46.                 oncommand="net.yellowgorilla.imagezoom.overlay.izSetZoom(100);"
  47.                 hidden="true"
  48.             />
  49.             <menuitem id="context-zoom-zout"
  50.                 label="&iz.menu.context.decrease.label;"
  51.                 accesskey="&iz.menu.context.decrease.accesskey;"
  52.                 insertbefore="context-sep-copyimage"
  53.                 oncommand="net.yellowgorilla.imagezoom.overlay.izZoomOut();"
  54.                 hidden="true"
  55.             />
  56.             <menuitem id="context-zoom-zcustom"
  57.                 label="&iz.menu.context.customzoom.label;"
  58.                 insertbefore="context-sep-copyimage"
  59.                 oncommand="net.yellowgorilla.imagezoom.overlay.izShowCustomZoom();"
  60.                 hidden="true"
  61.             />
  62.             <menuitem id="context-zoom-dcustom"
  63.                 label="&iz.menu.context.customdim.label;"
  64.                 insertbefore="context-sep-copyimage"
  65.                 oncommand="net.yellowgorilla.imagezoom.overlay.izShowCustomDim();"
  66.                 hidden="true"
  67.             />
  68.             <menuitem id="context-zoom-fit"
  69.                 label="&iz.menu.context.imagefit.label;"
  70.                 insertbefore="context-sep-copyimage"
  71.                 oncommand="net.yellowgorilla.imagezoom.overlay.izImageFit();"
  72.                 hidden="true"
  73.             />
  74.             <menuitem id="context-zoom-rotate-right"
  75.                 label="&iz.menu.context.imagerotateright.label;"
  76.                 insertbefore="context-sep-copyimage"
  77.                 oncommand="net.yellowgorilla.imagezoom.overlay.izRotateRight();"
  78.                 hidden="true"
  79.             />
  80.             <menuitem id="context-zoom-rotate-left"
  81.                 label="&iz.menu.context.imagerotateleft.label;"
  82.                 insertbefore="context-sep-copyimage"
  83.                 oncommand="net.yellowgorilla.imagezoom.overlay.izRotateLeft();"
  84.                 hidden="true"
  85.             />    
  86.             <menuitem id="context-zoom-rotate-180"
  87.                 label="&iz.menu.context.imagerotate180.label;"
  88.                 insertbefore="context-sep-copyimage"
  89.                 oncommand="net.yellowgorilla.imagezoom.overlay.izRotate180();"
  90.                 hidden="true"
  91.             />
  92.             <menuitem id="context-zoom-rotate-reset"
  93.                 label="&iz.menu.context.imagerotatereset.label;"
  94.                 insertbefore="context-sep-copyimage"
  95.                 oncommand="net.yellowgorilla.imagezoom.overlay.izRotateReset();"
  96.                 hidden="true"
  97.             />                    
  98.         <menu id="context-zoomsub"
  99.             label="&iz.menu.context.zoomimage.label;"
  100.             accesskey="&iz.menu.context.zoomimage.accesskey;"
  101.             insertbefore="context-sep-copyimage"
  102.             hidden="true"
  103.         >
  104.               <menupopup id="zoompopup">
  105.             <menuitem id="zoomsub-zin"
  106.                 label="&iz.menu.context.increase.label;"
  107.                 accesskey="&iz.menu.context.increase.accesskey;"
  108.                 oncommand="net.yellowgorilla.imagezoom.overlay.izZoomIn();"
  109.                 hidden="true"
  110.             />
  111.             <menuitem id="zoomsub-zreset"
  112.                 label="&iz.menu.context.reset.label;"
  113.                 accesskey="&iz.menu.context.reset.accesskey;"
  114.                 oncommand="net.yellowgorilla.imagezoom.overlay.izSetZoom(100);"
  115.                 hidden="true"
  116.             />
  117.             <menuitem id="zoomsub-zout"
  118.                 label="&iz.menu.context.decrease.label;"
  119.                 accesskey="&iz.menu.context.decrease.accesskey;"
  120.                 oncommand="net.yellowgorilla.imagezoom.overlay.izZoomOut();"
  121.                 hidden="true"
  122.             />
  123.             <menuseparator id="zoomsub-s1"
  124.                 hidden="true"
  125.             />        
  126.             <menuitem id="zoomsub-zcustom"
  127.                 label="&iz.menu.context.customzoom.label;"
  128.                 oncommand="net.yellowgorilla.imagezoom.overlay.izShowCustomZoom();"
  129.                 hidden="true"
  130.             />
  131.             <menuitem id="zoomsub-dcustom"
  132.                 label="&iz.menu.context.customdim.label;"
  133.                 oncommand="net.yellowgorilla.imagezoom.overlay.izShowCustomDim();"
  134.                 hidden="true"
  135.             />
  136.             <menuseparator id="zoomsub-s2"
  137.                 hidden="true"
  138.             />
  139.             <menuitem id="zoomsub-fit"
  140.                 label="&iz.menu.context.imagefit.label;"
  141.                 oncommand="net.yellowgorilla.imagezoom.overlay.izImageFit();"
  142.                 hidden="true"
  143.             />
  144.             <menuseparator id="zoomsub-s3"
  145.                 hidden="true"
  146.             />
  147.             <menuitem id="zoomsub-z400"
  148.                 label="400%"
  149.                 oncommand="net.yellowgorilla.imagezoom.overlay.izSetZoom(400);"
  150.                 hidden="true"
  151.             />
  152.             <menuitem id="zoomsub-z200"
  153.                 label="200%"
  154.                 oncommand="net.yellowgorilla.imagezoom.overlay.izSetZoom(200);"
  155.                 hidden="true"
  156.             />
  157.             <menuitem id="zoomsub-z150"
  158.                 label="150%"
  159.                 oncommand="net.yellowgorilla.imagezoom.overlay.izSetZoom(150);"
  160.                 hidden="true"
  161.             />
  162.             <menuitem id="zoomsub-z125"
  163.                 label="125%"
  164.                 oncommand="net.yellowgorilla.imagezoom.overlay.izSetZoom(125);"
  165.                 hidden="true"
  166.             />
  167.             <menuseparator id="zoomsub-s4"
  168.                 hidden="true"
  169.             />
  170.             <menuitem id="zoomsub-z100"
  171.                 label="100%"
  172.                 oncommand="net.yellowgorilla.imagezoom.overlay.izSetZoom(100);"
  173.                 hidden="true"
  174.             />
  175.             <menuseparator id="zoomsub-s5"
  176.                 hidden="true"
  177.             />
  178.             <menuitem id="zoomsub-z75"
  179.                 label="75%"
  180.                 oncommand="net.yellowgorilla.imagezoom.overlay.izSetZoom(75);"
  181.                 hidden="true"
  182.             />
  183.             <menuitem id="zoomsub-z50"
  184.                 label="50%"
  185.                 oncommand="net.yellowgorilla.imagezoom.overlay.izSetZoom(50);"
  186.                 hidden="true"
  187.             />
  188.             <menuitem id="zoomsub-z25"
  189.                 label="25%"
  190.                 oncommand="net.yellowgorilla.imagezoom.overlay.izSetZoom(25);"
  191.                 hidden="true"
  192.             />
  193.             <menuitem id="zoomsub-z10"
  194.                 label="10%"
  195.                 oncommand="net.yellowgorilla.imagezoom.overlay.izSetZoom(10);"
  196.                 hidden="true"
  197.             />
  198.               </menupopup>
  199.             </menu>
  200.             <menu id="context-rotatesub"
  201.                 label="&iz.menu.context.rotateimage.label;"
  202.                 accesskey="&iz.menu.context.rotateimage.accesskey;"
  203.                 insertbefore="context-sep-copyimage"
  204.                 hidden="true"
  205.             >
  206.                   <menupopup id="rotatepopup">
  207.                 <menuitem id="rotatesub-rotate-right"
  208.                     label="&iz.menu.context.imagerotateright.label;"
  209.                     accesskey="&iz.menu.context.rotate.right.accesskey;"
  210.                     oncommand="net.yellowgorilla.imagezoom.overlay.izRotateRight();"
  211.                     hidden="true"
  212.                 />
  213.                 <menuitem id="rotatesub-rotate-left"
  214.                     label="&iz.menu.context.imagerotateleft.label;"
  215.                     accesskey="&iz.menu.context.rotate.left.accesskey;"
  216.                     oncommand="net.yellowgorilla.imagezoom.overlay.izRotateLeft();"
  217.                     hidden="true"
  218.                 />    
  219.                 <menuitem id="rotatesub-rotate-180"
  220.                     label="&iz.menu.context.imagerotate180.label;"
  221.                     accesskey="&iz.menu.context.rotate.180.accesskey;"
  222.                     oncommand="net.yellowgorilla.imagezoom.overlay.izRotate180();"
  223.                     hidden="true"
  224.                 />    
  225.                 <menuitem id="rotatesub-rotate-reset"
  226.                     label="&iz.menu.context.imagerotatereset.label;"
  227.                     accesskey="&iz.menu.context.rotate.reset.accesskey;"
  228.                     oncommand="net.yellowgorilla.imagezoom.overlay.izRotateReset();"
  229.                     hidden="true"
  230.                 />
  231.                   </menupopup>
  232.                 </menu>
  233.     </popup> 
  234. </overlay>
  235.